_f_t_r_2_m_i_m_e is a utility used to generate _m_a_i_l_c_a_p and _m_i_m_e._t_y_p_e files from
the file typing rules. This tool is now used to update the files,
whenever new software is installed on the system, or whenever the FTR
databases are updated. By default it looks in the desktop FTR database,
/_u_s_r/_l_i_b/_f_i_l_e_t_y_p_e/_d_e_s_k_t_o_p._o_t_r for generating the MIME type information.
Users can also specify a different database with the ----dddd option. If the
output file option, ----oooo is not given, this tool prints the information
onto the standard output.
_f_t_r_2_m_i_m_e goes through all the types in the given FTR database, and checks
if the MMMMiiiimmmmeeeeTTTTyyyyppppeeee mapping rule exists. It then gets the DDDDeeeeffffaaaauuuullllttttEEEExxxxtttteeeennnnssssiiiioooonnnn
and AAAAllllttttEEEExxxxtttteeeennnnssssiiiioooonnnnssss for the _e_x_t_s extensions, and MMMMiiiimmmmeeeeTTTTyyyyppppeeeeIIIIccccoooonnnn for _i_c_o_n, to
generate the _m_i_m_e._t_y_p_e file.
_f_t_r_2_m_i_m_e generates the _m_a_i_l_c_a_p file by extracting the following
information from the FTR rules:
LLLLEEEEGGGGEEEENNNNDDDD for _d_e_s_c_r_i_p_t_i_o_n
MMMMiiiimmmmeeeePPPPllllaaaayyyy for the MIME type action
MMMMiiiimmmmeeeeCCCCoooommmmppppoooosssseeee for _c_o_m_p_o_s_e
MMMMiiiimmmmeeeeBBBBiiiittttmmmmaaaapppp for _x_1_1-_b_i_t_m_a_p